﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YunCMS.DAL;
using YunCMS.BLL;
using YunCMS.Model;
using YunCMS.Common;
using YunCMS.Core.Configration;

namespace YunCMS.Core.Template
{
    public class GlobalTemplate
    {
        private YCCategoryBLL cbll = null;
        public GlobalTemplate()
        {
           cbll = new YCCategoryBLL();
        }

        public IList<YCCategory> GetCategoryList()
        {
            return cbll.GetCategoryList(" and Active=1");
        }

        public SiteConfig GetConfigration()
        {
            return new SiteConfig();
        }
    }
}
